<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content=
    "application/xhtml+xml; charset=iso-8859-1" />
    <title>
      7.1.&nbsp;Introduction
    </title>
    <link rel="stylesheet" href="../stylesheets/lfs.css" type="text/css" />
    <meta name="generator" content="DocBook XSL Stylesheets V1.73.2" />
    <link rel="stylesheet" href="../stylesheets/lfs-print.css" type=
    "text/css" media="print" />
  </head>
  <body class="lfs" id="lfs-7.3">
    <div class="navheader">
      <h4>
        Linux From Scratch - Version 7.3
      </h4>
      <h3>
        Chapter&nbsp;7.&nbsp;Setting Up System Bootscripts
      </h3>
      <ul>
        <li class="prev">
          <a accesskey="p" href="chapter07.html" title=
          "Setting Up System Bootscripts">Prev</a>
          <p>
            Setting Up System Bootscripts
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="network.html" title=
          "General Network Configuration">Next</a>
          <p>
            General Network Configuration
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="chapter07.html" title=
          "Chapter&nbsp;7.&nbsp;Setting Up System Bootscripts">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Linux From Scratch - Version 7.3">Home</a>
        </li>
      </ul>
    </div>
    <div class="sect1" lang="en" xml:lang="en">
      <h1 class="sect1">
        <a id="ch-scripts-introduction" name=
        "ch-scripts-introduction"></a>7.1. Introduction
      </h1>
      <p>
        This chapter discusses configuration files and boot scripts. First,
        the general configuration files needed to set up networking are
        presented.
      </p>
      <div class="itemizedlist">
        <ul>
          <li>
            <p>
              <a class="xref" href="network.html" title=
              "7.2.&nbsp;General Network Configuration">Section&nbsp;7.2,
              &ldquo;General Network Configuration.&rdquo;</a>
            </p>
          </li>
          <li>
            <p>
              <a class="xref" href="hosts.html" title=
              "7.3.&nbsp;Customizing the /etc/hosts File">Section&nbsp;7.3,
              &ldquo;Customizing the /etc/hosts File.&rdquo;</a>
            </p>
          </li>
        </ul>
      </div>
      <p>
        Second, issues that affect the proper setup of devices diescussed.
      </p>
      <div class="itemizedlist">
        <ul>
          <li>
            <p>
              <a class="xref" href="udev.html" title=
              "7.4.&nbsp;Device and Module Handling on an LFS System">Section&nbsp;7.4,
              &ldquo;Device and Module Handling on an LFS System.&rdquo;</a>
            </p>
          </li>
          <li>
            <p>
              <a class="xref" href="symlinks.html" title=
              "7.5.&nbsp;Creating Custom Symlinks to Devices">Section&nbsp;7.5,
              &ldquo;Creating Custom Symlinks to Devices.&rdquo;</a>
            </p>
          </li>
        </ul>
      </div>
      <p>
        The next sections detail how to install and configure the LFS system
        scripts needed during the boot process. Most of these scripts will
        work without modification, but a few require additional configuration
        files because they deal with hardware-dependent information.
      </p>
      <p>
        System-V style init scripts are employed in this book because they
        are widely used and relatively simple. For additional options, a hint
        detailing the BSD style init setup is available at <a class="ulink"
        href=
        "http://www.linuxfromscratch.org/hints/downloads/files/bsd-init.txt">http://www.linuxfromscratch.org/hints/downloads/files/bsd-init.txt</a>.
        Searching the LFS mailing lists for &ldquo;<span class=
        "quote">depinit</span>&rdquo;, &ldquo;<span class=
        "quote">upstart</span>&rdquo;, or &ldquo;<span class=
        "quote">systemd</span>&rdquo; will also offer additional information.
      </p>
      <p>
        If using an alternative style of init scripts, skip these sections.
      </p>
      <p>
        A listing of the boot scripts are found in <a class="xref" href=
        "../scripts/scripts.html" title=
        "Appendix&nbsp;D.&nbsp;Boot and sysconfig scripts version-20130123">Appendix
        D</a>.
      </p>
      <div class="itemizedlist">
        <ul>
          <li>
            <p>
              <a class="xref" href="bootscripts.html" title=
              "7.6.&nbsp;LFS-Bootscripts-20130123">Section&nbsp;7.6,
              &ldquo;LFS-Bootscripts-20130123.&rdquo;</a>
            </p>
          </li>
          <li>
            <p>
              <a class="xref" href="usage.html" title=
              "7.7.&nbsp;How Do These Bootscripts Work?">Section&nbsp;7.7,
              &ldquo;How Do These Bootscripts Work?.&rdquo;</a>
            </p>
          </li>
          <li>
            <p>
              <a class="xref" href="hostname.html" title=
              "7.8.&nbsp;Configuring the system hostname">Section&nbsp;7.8,
              &ldquo;Configuring the system hostname.&rdquo;</a>
            </p>
          </li>
          <li>
            <p>
              <a class="xref" href="setclock.html" title=
              "7.9.&nbsp;Configuring the setclock Script">Section&nbsp;7.9,
              &ldquo;Configuring the setclock Script.&rdquo;</a>
            </p>
          </li>
          <li>
            <p>
              <a class="xref" href="console.html" title=
              "7.10.&nbsp;Configuring the Linux Console">Section&nbsp;7.10,
              &ldquo;Configuring the Linux Console.&rdquo;</a>
            </p>
          </li>
          <li>
            <p>
              <a class="xref" href="sysklogd.html" title=
              "7.11.&nbsp;Configuring the sysklogd Script">Section&nbsp;7.11,
              &ldquo;Configuring the sysklogd Script.&rdquo;</a>
            </p>
          </li>
        </ul>
      </div>
      <p>
        Finally, there is a brief introduction to the scripts and
        configuration files used when the user logs into the system.
      </p>
      <div class="itemizedlist">
        <ul>
          <li>
            <p>
              <a class="xref" href="profile.html" title=
              "7.13.&nbsp;The Bash Shell Startup Files">Section&nbsp;7.13,
              &ldquo;The Bash Shell Startup Files.&rdquo;</a>
            </p>
          </li>
          <li>
            <p>
              <a class="xref" href="inputrc.html" title=
              "7.14.&nbsp;Creating the /etc/inputrc File">Section&nbsp;7.14,
              &ldquo;Creating the /etc/inputrc File.&rdquo;</a>
            </p>
          </li>
        </ul>
      </div>
    </div>
    <div class="navfooter">
      <ul>
        <li class="prev">
          <a accesskey="p" href="chapter07.html" title=
          "Setting Up System Bootscripts">Prev</a>
          <p>
            Setting Up System Bootscripts
          </p>
        </li>
        <li class="next">
          <a accesskey="n" href="network.html" title=
          "General Network Configuration">Next</a>
          <p>
            General Network Configuration
          </p>
        </li>
        <li class="up">
          <a accesskey="u" href="chapter07.html" title=
          "Chapter&nbsp;7.&nbsp;Setting Up System Bootscripts">Up</a>
        </li>
        <li class="home">
          <a accesskey="h" href="../index.html" title=
          "Linux From Scratch - Version 7.3">Home</a>
        </li>
      </ul>
    </div>
  </body>
</html>
